home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
pascal
/
bpl70n15.zip
/
TURBPERF.DOC
< prev
Wrap
Text File
|
1993-05-20
|
22KB
|
468 lines
++++++++++++++ TURBO.TPL Performance Comparison ++++++++++++++++++++
BP 7.0 Turbo Pascal Library
versus
BP 7.0 Runtime Library Update 1.2
Performance data for Cyrix 486DLC, Intel RapidCAD, Intel 386DX,
and Intel 8086
Note: The time resolution in the ARITEST test program is about 0.3
usec, so the relative timing error can get quite large for
small times like those measured on a 386DX, 486DLC, or Intel
RapidCAD. For these processors, the times given in the table
represent the average of three measurements.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Machine configuration: Cyrix 486DLC 40 MHz Computer w/ 128 kB CPU-cache
8.0 MB of RAM
Cyrix 387+ coprocessor
DOS 5.0 Operating System
Test Program: ARITEST.PAS
PERFORMANCE
OPERATION (in usec) BP 7.0 TPL BP 7.0 RLU INCREASE
--------------------------------------------------------------------
LONG-Mul 1.9 1.6 18.75%
LONG-Div 2.9 3.4 -14.71%
LONG-Abs 0.3 0.3 0.00%
REAL-Float 3.0 2.5 20.00%
REAL-Add 6.1 6.6 -7.58%
REAL-Sub 6.7 6.9 -2.90%
REAL-Mul 6.3 6.2 -1.59%
REAL-Mul (Short) 3.7 3.8 -2.63%
REAL-Div 41.6 10.7 288.79%
REAL-Sqr 5.8 4.4 31.82%
REAL-Sqr (Short) 2.1 1.8 16.67%
REAL-Int 2.8 2.8 0.00%
REAL-Frac 7.9 2.1 276.19%
REAL-Trunc 3.1 3.4 -8.82%
REAL-Round 3.1 3.4 -8.82%
REAL-Sqrt 248.4 8.4 2857.14%
REAL-Ln 142.4 86.2 65.20%
REAL-Exp 160.6 72.8 120.60%
REAL-Sin 114.6 78.8 45.43%
REAL-Cos 117.7 77.2 52.46%
REAL-ArcTan 106.1 59.3 78.92%
--------------------------------------------------------------------
Test Program: DHRYSTON.PAS
PERFORMANCE
OPERATION BP 7.0 TPL BP 7.0 RLU INCREASE
--------------------------------------------------------------------
Dhrystones / Sec: 13850.7 14545.7 5.02%
--------------------------------------------------------------------
Test Program: WHETSTON.PAS
PERFORMANCE
OPERATION BP 7.0 TPL BP 7.0 RLU INCREASE
--------------------------------------------------------------------
REAL KWhetstones: 564.972 1049.318 85.73%
--------------------------------------------------------------------
Test Program: STRTEST.PAS
PERFORMANCE
OPERATION BP 7.0 TPL BP 7.0 RLU INCREASE
--------------------------------------------------------------------
String-Benchmark (msec) 478 270 77.04%
--------------------------------------------------------------------
Test Program: WHETST87.PAS
PERFORMANCE
OPERATION BP 7.0 TPL BP 7.0 RLU INCREASE
--------------------------------------------------------------------
DOUBLE PRECISION KWhetstones:2673.797 3367.003 25.93%
--------------------------------------------------------------------
Test Program: LLL.PAS
PERFORMANCE
OPERATION BP 7.0 TPL BP 7.0 RLU INCREASE
--------------------------------------------------------------------
DOUBLE PRECISION MFLOPS: 0.3923 0.4351 10.91%
--------------------------------------------------------------------
Test Program: SETTEST.PAS
PERFORMANCE
OPERATION BP 7.0 TPL BP 7.0 RLU INCREASE
--------------------------------------------------------------------
Set benchmark (sec): 26.843 21.272 26.19%
--------------------------------------------------------------------
Test Program: LONGBN2.PAS
PERFORMANCE
OPERATION BP 7.0 TPL BP 7.0 RLU INCREASE
--------------------------------------------------------------------
Longint benchmark (msec): 122 (*) 119 2.52%
--------------------------------------------------------------------
(*) original library returns wrong results due to bug in SHL, SHR routines
Test Program: HEAPTEST.PAS
PERFORMANCE
OPERATION BP 7.0 TPL BP 7.0 RLU INCREASE
--------------------------------------------------------------------
Heap benchmark (msec): 213 206 3.40%
--------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Machine configuration: Intel RapidCAD 40 MHz Computer w/ 128 kB CPU-cache
8.0 MB of RAM
on-chip coprocessor in RapidCAD
DOS 5.0 Operating System
Test Program: ARITEST.PAS
PERFORMANCE
OPERATION (in usec) BP 7.0 TPL BP 7.0 RLU INCREASE
--------------------------------------------------------------------
LONG-Mul 2.7 3.1 -12.90%
LONG-Div 3.5 4.6 -18.60%
LONG-Abs 0.3 0.3 0.00%
REAL-Float 3.8 3.3 15.15%
REAL-Add 6.2 6.7 -7.46%
REAL-Sub 7.0 7.3 -4.11%
REAL-Mul 11.7 11.8 -0.85%
REAL-Mul (Short) 5.4 5.5 -1.82%
REAL-Div 36.3 15.0 142.00%
REAL-Sqr 11.6 8.3 39.76%
REAL-Sqr (Short) 3.0 2.5 20.00%
REAL-Int 2.7 2.6 3.85%
REAL-Frac 7.8 2.7 188.89%
REAL-Trunc 3.4 3.5 -2.86%
REAL-Round 3.4 3.5 -2.86%
REAL-Sqrt 220.3 12.0 1735.83%
REAL-Ln 188.2 113.8 65.38%
REAL-Exp 193.3 97.3 98.66%
REAL-Sin 164.6 105.8 55.57%
REAL-Cos 166.9 102.9 62.20%
REAL-ArcTan 143.7 78.5 83.31%
--------------------------------------------------------------------
Test Program: DHRYSTON.PAS
PERFORMANCE
OPERATION